.zui-flex-column {
  display: flex;
  flex-direction: column;
}

.editor-type-name {
  color: #a3a0a0;
  line-height: 20px;
  margin-bottom: 10px;
  font-size: 12px;
}

.contains {
  background: #f5f7fa;
  display: flex;
  flex-direction: row;

}

.el-header {
  color: #333;
  line-height: 60px;
  vertical-align: middle;
}

.section-left {
  background-color: #243042;
  min-width: 100px;
  height: 99vh;
  padding-top: 20px;

  .menu-item {
    .menu-parent {
      min-width: 100px;
      height: 80px;
      display: flex;
      flex-direction: column; /* 子元素横向排列 */
      justify-content: center; /* 相对父元素水平居中 */
      align-items: center;

      position: relative;

      .menu-icon {
        color: #676a6c;
        font-size: 14px;
        width: 20px;
        height: 20px;
      }

      .menu-title {
        color: #676a6c;
        font-size: 14px;
      }

      &:after {
        content: "";
        display: none;
        position: absolute;
        width: 8px;
        height: 8px;
        top: 40%;
        right: 0;
        margin-right: -4px;
        background-color: #FFFFFF;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
      }
    }

    .menu-child {
      display: none;
      opacity: 1;
      min-width: 160px;
      height: 99vh;
      padding: 15px;
    }
  }

  .menu-item.active {
    .menu-parent {
      .menu-icon {
        color: #FFFFFF;
        font-size: 14px;
        width: 20px;
        height: 20px;
      }

      .menu-title {
        color: #FFFFFF;
        font-size: 14px;
      }

      &:after {
        display: block;
      }
    }

    .menu-child {
      background-color: #FFFFFF;
      display: flex;
      opacity: 1;
      justify-content: start;
      flex-wrap: wrap;
      align-content: flex-start;

      position: absolute;
      top: 0;
      left: 100px;
      box-shadow: 4px 0 8px 0 rgb(0 0 0 / 5%);

      .menu {
        width: 50%;
        height: 80px;
        border-radius: 4px;

        display: inline-flex;
        flex-direction: column; /* 子元素纵向排列 */
        justify-content: space-around; /* 相对父元素水平居中 */
        align-items: center;

        .menu-icon {
          color: #000000;
          width: 28px;
          height: 28px;
        }

        .menu-title {
          color: black;
          font-size: 12px;
        }

        &:hover {
          background-color: #2a75ed;

          .menu-title {
            font-size: 12px;
            color: #FFFFFF;
          }

          .menu-icon {
            color: #FFFFFF;
          }
        }
      }
    }
  }
}

.section-middle {
  overflow-y: auto;
  min-width: 605px;
  padding: 40px 0 20px 190px;
  display: flex;
  justify-content: center;

  .page-box {
    width: 375px;
    background-color: #e5e6e7;

    .page-header {
      height: 65px;
      display: flex;
      flex-direction: column;
      align-items: center;
      background-image: url('../../assets/shop-header-ele-bg.jpg');
      background-size: 100%;

      .time {
        display: inline-block;
        margin-top: 2px;
        margin-bottom: 5px;
        min-width: 100px;
        background-color: #f2f2f2;
        font-size: 12px;
        text-align: center;
      }

      .title {
        font-size: 16px;
        font-weight: bold;
        margin-top: 8px;
      }
    }

    .page {
      height: 769px;

      .menu {
        width: 100%;
        height: 80px;
        position: relative;
        line-height: 100%;
        text-align: center;
        border-radius: 4px;
        cursor: pointer;
        border: 2px solid #2a75ed;

        .menu-icon {
          color: #2a75ed;
          display: block;
          width: 30px;
          height: 30px;
          font-size: 28px;
          margin: 10px auto;
        }

        .menu-title {
          color: #4a4a4a;
          line-height: 17px;
          height: 17px;
          font-size: 12px
        }
      }

      .editor-component-item {
        position: relative;
        background-color: #FFFFFF;
        min-height: 20px;
        height: auto;

        &-active {
          position: absolute;
          z-index: 11;
          top: -2px;
          left: -2px;
          right: -2px;
          bottom: -2px;
          cursor: move;
        }

        &-active.active {
          border: 2px solid #2a75ed
        }

        &-move {
          position: absolute;
          width: 38px;
          right: -14px;
          top: -2px;
          z-index: 1000;
          -webkit-transform: translate(100%, 0);
          transform: translate(100%, 0);
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16);
          margin-left: 14px;
          background-color: #fff;
          display: flex;
          flex-direction: column;
          align-items: center;

          .btn {
            width: 100%;
            height: 34px;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px
          }

          .btn.operate-delete {
            border-top: 1px solid #f5f5f5
          }
        }
      }
    }
  }
}

.section-right {
  overflow-y: auto;
  background-color: #fff;
  width: 385px;

  .header-tab {
    padding: 25px 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
  }

  .editor-contains {
    padding: 26px;
  }

}


.el-divider--horizontal {
  margin: 3px 0;
}
